package io.renren.modules.workflow.service;

import io.renren.modules.workflow.entity.ActBusWorkflowData;
import io.renren.modules.workflow.enums.ActOperationTypeEnum;

import java.util.List;

/**
 * @Desc: 流程任务service
 * @auther: landlord
 * @date: 2021/7/30 17:30
 * @return:
 */
public interface IActBusArchivesDataService {

    /**
     * 批量删除流程业务数据
     *
     * @param abwbdIds 需要删除的流程业务数据ID
     * @return 结果
     */
    public int deleteActBusArchivesDataByIds(Long[] abwbdIds);

    /**
     * 根据流程单ID删除流程业务数据信息
     *
     * @param abwdId 流程业务数据ID
     * @return 结果
     */
    public int deleteActBusArchivesDataByAbwdId(Long abwdId);

    /**
     * 删除流程业务数据信息
     *
     * @param abwbdId 流程业务数据ID
     * @return 结果
     */
    public int deleteActBusArchivesDataById(Long abwbdId);

    public List<ActBusWorkflowData> selectTransferAndReceiveList(ActBusWorkflowData actBusWorkflowData);

    public List<ActBusWorkflowData> selectDestroyList(ActBusWorkflowData actBusWorkflowData);

    void updateArchivesStatus(Long abwdID, ActOperationTypeEnum operationTypeEnum, String businessType);

}
